﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Generics
{
    class Program
    {
        static void Main(string[] args)
        {
            MyCustomList<int> list = new MyCustomList<int>();

            list.Add(1);
            list.Add(2);
            list.Add(3);
            list.Add(4);
            list.Add(5);

            //Console.WriteLine(list.Capacity);
            //Console.WriteLine(list.Count);

            foreach (var number in list)
            {
                Console.WriteLine(number);
            }

            
        }
    }
}
